package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AndStopLineRecordDao;
import com.infoauto.opc.gateway.model.AndStopLineRecord;
import com.infoauto.opc.gateway.service.AndStopLineRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AndStopLineRecordServiceImpl implements AndStopLineRecordService {
    @Autowired
    private AndStopLineRecordDao dao;


    @Override
    public int insert(AndStopLineRecord andStopLineRecord) {
        return dao.insert(andStopLineRecord);
    }

    @Override
    public int update(AndStopLineRecord andStopLineRecord) {
        return dao.update(andStopLineRecord);
    }
}
